package com.mentaleye.service;

import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.LoanRecord;

public interface LoanRecordService {

	boolean insertRecord(LoanRecord record);

	boolean updateRecord(LoanRecord record);
	
	List<LoanRecord> getList();

	List<Map<String,Object>> getListByMap(Map<String,Object> map);
	
	LoanRecord getRecordById(long recordId);
	
	boolean deleteByKey(long recordId);
}
